﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="quanadd.aspx.cs" Inherits="UI.system.page.quan.quanadd" %>
<%@ Import Namespace="Model" %>
<%@ Import Namespace="Common" %>
<style>
    .layui-form-label{width:90px;}
    .layui-input-block{margin-left:120px;}
</style>
<div style="margin: 15px;">
	<form class="layui-form" style="padding-left:0px;">
        <div class="layui-form-item">
			<label class="layui-form-label"><font>优惠券金额</font><em>*</em></label>
			<div class="layui-input-block">
                <input type="text" name="money" placeholder="请输入优惠券金额" lay-verify="required" autocomplete="off" class="layui-input" value='<%=info.Money>0?info.Money+"":"" %>'>
			</div>
		</div>
        <div class="layui-form-item">
			<label class="layui-form-label"><font>满减金额</font><em>*</em></label>
			<div class="layui-input-block">
				<input type="text" name="man" placeholder="请输入满减金额" lay-verify="required" autocomplete="off" class="layui-input" value='<%=info.Man>0?info.Man+"":"" %>'>
			</div>
		</div>
        <div class="layui-form-item">
			<label class="layui-form-label"><font>有效日期</font><em>*</em></label>
			<div class="layui-input-line">
                <div style="float:left; margin-right:10px;">
				<input type="text" name="begindate" placeholder="请选择有效日期" lay-verify="required" autocomplete="off" class="layui-input" style="width:140px; float:left;" value='<%=info.BeginDate.ToString("yyyy-MM-dd") %>'/>
                </div>
                <div style="float:left; margin-right:10px; padding-top:9px;">
                -
                </div>
                <div style="float:left;">
                <input type="text" name="enddate" placeholder="请选择有效日期" lay-verify="required" autocomplete="off" class="layui-input" style="width:140px; float:left;" value='<%=info.EndDate.ToString("yyyy-MM-dd") %>'/>
                </div>
			</div>
		</div>
        <div class="layui-form-item">
			<label class="layui-form-label"><font>优惠券状态</font><em>*</em></label>
			<div class="layui-input-inline">
				<input type="radio" name="isshow" lay-filter="isshow" value="1" title="可用" <%=info.IsShow==1?"checked='checked'":"" %>>
                <input type="radio" name="isshow" lay-filter="isshow" value="0" title="作废" <%=info.IsShow==0?"checked='checked'":"" %>>
			</div>
		</div>
		<a lay-filter="save" lay-submit style="display: none;"></a>
	</form>
</div>